package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class CompanyPlatform implements Serializable {
    private Integer id;

    private Integer type;

    private Integer companyId;

    private String companyKey;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public CompanyPlatform(Integer id, Integer type, Integer companyId, String companyKey, Date createTime, Date updateTime) {
        this.id = id;
        this.type = type;
        this.companyId = companyId;
        this.companyKey = companyKey;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public CompanyPlatform() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyKey() {
        return companyKey;
    }

    public void setCompanyKey(String companyKey) {
        this.companyKey = companyKey == null ? null : companyKey.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}